<?php
/**
 * Created by litong on Date: 2019/4/11 0011 下午 12:44
 */

require_once "../../../string/utils/StringUtil.clsss.php";
class StringUtilTest extends PHPUnit_Framework_TestCase {

  public function testStartWith() {
    $str="litong";
    $substr="l";
    $bool=StringUtil::startWith($str,$substr);
    var_dump($bool);
  }

  public function testContains(){
    $str="litong";
    $substr="l";
    $bool=StringUtil::contains($str,$substr);
    var_dump($bool);
  }
  public function testEndsWith(){
    $str="litong";
    $substr="ng";
    $bool=StringUtil::endsWith($str,$substr);
    var_dump($bool);
  }
}
